package com.jxust.hr.service.impl;

import com.jxust.debate.pojo.Employee;
import com.jxust.hr.dao.EmployeeMapper;
import com.jxust.hr.service.EmployeeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class EmployeeServiceImpl implements EmployeeService {
    @Resource
    EmployeeMapper employeeMapper;

    @Override
    public List<Employee> selectBirthdayNow(){
        return employeeMapper.selectBirthdayNow();
    }

    @Override
    public List<Employee> selectBirthdayMonth(){
        return employeeMapper.selectBirthdayMonth();
    }

}
